SftTree/OCX 7.0

SftTreeItem Object (ISftTreeItem Interface)

Softel vdm, Inc.

The SftTreeItem object represents one item in a SftTree/OCX control. A SftTreeItem object for a particular item can be accessed through the control's Item property.

Certain default properties and behavior for items can be defined using the SftTreeItems object.

Property/Method

Description

Cell

Returns a SftTreeCell object for a given cell.

ClearCellImages

Removes the cell images from this item.

Collapse

Collapses the item so its dependents are no longer visible.

Data

Defines the item's application specific numeric value.

DataFloat

Defines the item's application specific floating point value.

DataObject

Defines the item's application specific object value.

DataString

Defines the item's application specific string value.

DataTag

Defines the item's application specific variant value.

DeleteDependents

Deletes the item's dependents.

DependentAllCount

Returns the item's number of all dependents.

DependentCount

Returns the item's number of immediate dependents.

EditIgnore

Defines whether the item is ignored for cell editing.

Enabled

Defines whether the item is enabled.

Expand

Expands the item so its dependents become visible.

Expandable

Defines whether the item is expandable.

Expanded

Defines whether the item is expanded or collapsed.

FirstDependent

Returns the item's first dependent.

FirstSibling

Returns the item's first sibling.

GetPosition

Returns the coordinates of the item.

GetPositionPix

Returns the coordinates of the item.

Height

Returns the item's height.

HeightPix

Returns the item's height.

HideExpandCollapseButton

Defines whether the item's expand/collapse button is hidden.

ID

Defines the item ID of the item.

Ignore

Defines whether the item is ignored for optimal column width and extent calculation.

Image

Defines the item graphic displayed in this item.

ItemIndex

Returns the item index of this item.

LabelImage

Defines the label graphic displayed in this item.

LastDependent

Returns the item's last dependent.

LastSibling

Returns the item's last sibling.

Level

Defines the item's level number.

MakeVisible

Vertically scrolls the item into view so it is displayed in the tree control's client area.

MaxHeightPix

Defines the maximum height of the item.

MinHeightPix

Defines the minimum height of the item.

NextShown

Returns the index of the next visible item.

NextSibling

Returns the item's next sibling.

Parent

Returns the item's parent item.

PrevShown

Returns the index of the previous visible item.

PrevSibling

Returns the item's previous sibling.

RowHeader

Returns the item's SftTreeRowHeader object.

Selected

Defines whether the item is selected.

Shown

Defines whether the item is shown.

TopParent

Returns the item's top-most parent item.

See Also  Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com